<%@ page import="java.io.*,java.util.*,com.jjapp.model.User"%>
<!DOCTYPE html>
<html>
<title>Sample JSP  Servlet Web-App</title>
<body>
<%@ include file="header.jsp" %>
<table width="100%" height="300px" border="0" cellpadding="0" cellspacing="0" bgcolor="#e6e6e6">
<tr >
	<td height="100%">
		<%
			ArrayList userList =(ArrayList)request.getAttribute("userList");
			Iterator<User> itr = userList.iterator();
		    while (itr.hasNext()) {
		      User user = itr.next();
		      out.println(user.getId() + " " + user.getEmail() + " ");
		    }
		%>
	</td>
</tr>
</table>
<%@ include file="footer.jsp" %>
</body>
</html>